<div class="panel panel-default">
	<div class="panel-heading">
		<h3 class="panel-title">编辑文章</h3>
	</div>
	<div class="panel-body">
		<!-- TAB NAVIGATION -->
		<ul class="nav nav-tabs" role="tablist">
			<li><a href="/article">文章列表</a></li>
			<li class="active"><a href="/index/article/add">添加文章</a></li>
		</ul>
		<!-- TAB CONTENT -->
		<div class="tab-content">
			<div class="active tab-pane fade in">
				<form action="/index/article/edit" method="post" role="form">
					<div class="form-group">
						<label for="title">标题</label>
						<input type="text" value="{$post.title}" class="form-control" name="title" id="title"
						       placeholder="文章标题">
					</div>
					<div class="form-group">
						<label for="content">内容</label>
						<textarea class="form-control" name="content" id="content" rows="5"
						          placeholder="文章内容">{$post.content}</textarea>
					</div>
					<input type="hidden" name="id" value="{$post.id}">
					<button type="submit" class="btn btn-primary">修改</button>
				</form>
			</div>
		</div>


	</div>
</div>